<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>绿色留言本2</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="/tpl/green2/css.css" type="text/css" />
</head>
<body>
<div id="wrapper">
		<div id="header">
				<h1><a href="#">我的绿色留言本2</a></h1>
		</div>
		<div id="sidebar">
				<h2>请留言</h2>
				<p class="news">
					<form action="<{spUrl c=main a=write}>" method=POST>
					您的名字：<input type=text name='name' size=10><br />
					留言标题：<input type=text name='title' size=10><br />
					留言内容：<br />
					<textarea name=contents cols=27 rows=3></textarea><br />
					<input type=submit value=" 提交 "><br />
					</form>	
				</p>
		
		</div>
		
		<div id="content">
<{foreach from=$results item=one}>
			<h3><{$one.name}>：<span><{$one.title}></span></h3>
			<p><{$one.contents}></p>
<{/foreach}>
		</div>
  <div id="footer" style="clear:both;">
<select name="选择模板" onchange="location.href=this.options[this.selectedIndex].value;"><option> 模板选择...</option>
  <option value="/?tpl=green">绿色风格</option><option value="/?tpl=blue">蓝色风格</option><option value="/?tpl=green2">绿色风格2</option><option value="/?tpl=white">白色风格</option></select>
  </div>
</div>


</body>
</html>